package cn.vin.actuator;

import cn.vin.filter.DogFilter;
import com.google.common.collect.Maps;
import org.springframework.boot.actuate.endpoint.annotation.Endpoint;
import org.springframework.boot.actuate.endpoint.annotation.ReadOperation;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @Author: Wu Shenzhuang
 * @Date: 2019/5/31 15:06
 */
@Component
@Endpoint(id = "pv")
public class PvEndpoint {

    @ReadOperation
    public Map<Long,Integer> pv() {
        return Maps.newHashMap();
    }
}
